package cn.fscode.code.generator.model.req;

import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * @author shenguangyang
 */
@Getter
@Setter
public class CopyTemplateReq {
    @NotNull(message = "不能为空")
    private Long id;

    @NotEmpty(message = "不能为空")
    private String name;

    @NotNull(message = "不能为空")
    private Long sourceGroupId;

    @NotNull(message = "不能为空")
    private Long targetGroupId;
}
